package com.zp.master.modules.dao;


import com.zp.master.common.persistence.CrudDao;
import com.zp.master.modules.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
public interface SysUserDao extends CrudDao<SysUser> {

    public List<SysUser> selectAll();

    /**
     * 通过名字获取用户信息
     * @param name
     * @return
     */
    public SysUser getUserByUserName (@Param("name") String name);
}
